package www.openteam.com.bean;

/**
 * Created by Administrator on 2019-10-31.
 * 格式化存入装车清单的送货单
 * 明细表 (只要 id,zbid,送货单号,客户编号,送货地址,每箱数量,箱数的字段)
 * holder.sendNo.setText(dataBean.getSendNo());
 * holder.custid.setText(dataBean.getCustid());
 * holder.sendAddress.setText(dataBean.getSendAddress());
 * holder.boxNumb.setText(dataBean.getBoxNumb() + "");
 * holder.boxPackages.setText(dataBean.getBoxPackages() + "");
 */

public class LdLst_dlrtNote {
    private String id;
    private String zbid;
    private String sendNo;//送货单号
    private String custid;//客户编号
    private String sendAddress;//送货地址
    private String boxNumb;//每箱数量
    private String boxPackages;//箱数

    public LdLst_dlrtNote() {
    }


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getZbid() {
        return zbid;
    }

    public void setZbid(String zbid) {
        this.zbid = zbid;
    }

    public String getSendNo() {
        return sendNo;
    }

    public void setSendNo(String sendNo) {
        this.sendNo = sendNo;
    }

    public String getCustid() {
        return custid;
    }

    public void setCustid(String custid) {
        this.custid = custid;
    }

    public String getSendAddress() {
        return sendAddress;
    }

    public void setSendAddress(String sendAddress) {
        this.sendAddress = sendAddress;
    }

    public String getBoxNumb() {
        return boxNumb;
    }

    public void setBoxNumb(String boxNumb) {
        this.boxNumb = boxNumb;
    }

    public String getBoxPackages() {
        return boxPackages;
    }

    public void setBoxPackages(String boxPackages) {
        this.boxPackages = boxPackages;
    }


    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        LdLst_dlrtNote that = (LdLst_dlrtNote) o;

        if (id != null ? !id.equals(that.id) : that.id != null) return false;
        if (zbid != null ? !zbid.equals(that.zbid) : that.zbid != null) return false;
        if (sendNo != null ? !sendNo.equals(that.sendNo) : that.sendNo != null) return false;
        if (custid != null ? !custid.equals(that.custid) : that.custid != null) return false;
        if (sendAddress != null ? !sendAddress.equals(that.sendAddress) : that.sendAddress != null)
            return false;
        if (boxNumb != null ? !boxNumb.equals(that.boxNumb) : that.boxNumb != null) return false;
        return boxPackages != null ? boxPackages.equals(that.boxPackages) : that.boxPackages == null;
    }

    @Override
    public int hashCode() {
        int result = id != null ? id.hashCode() : 0;
        result = 31 * result + (zbid != null ? zbid.hashCode() : 0);
        result = 31 * result + (sendNo != null ? sendNo.hashCode() : 0);
        result = 31 * result + (custid != null ? custid.hashCode() : 0);
        result = 31 * result + (sendAddress != null ? sendAddress.hashCode() : 0);
        result = 31 * result + (boxNumb != null ? boxNumb.hashCode() : 0);
        result = 31 * result + (boxPackages != null ? boxPackages.hashCode() : 0);
        return result;
    }
}
